Enriching OSGi Service Interfaces with Formal Sequential Contracts
نویسندگان
چکیده
Architecture description languages define component interfaces with sequential contracts, which allow for static analysis of method call sequences in component or service interactions. However, component and service platforms like OSGi for Java do not provide mechanisms for the specification or enforcement of such sequential contracts. Thus the contracts are only defined in the documentation which might be outdated when long-living systems evolve at the implementation level. This vision paper proposes to attach formal sequential models, in our case interface automata, to the interface definition of OSGi services, so that the modeling information is permanently and tightly coupled to the implementation. This enables consistent documentation, static analysis of component interactions at design time, and real-time enforcement of behavioural contracts at run time. By this means, component interactions can be seamlessly verified in long-living systems when components and their connections are added or changed over time.
منابع مشابه
Enriching OSGi Service Composition with Web Services
This letter describes combining OSGi and Web Services in service composition. According to our approach, a composite service is described in WS-BPEL. Each component service in the description may be resolved to either an OSGi service or Web Service at runtime. The proposal can overcome current limitations with OSGi technology in terms of its geographical coverage and candidate service populatio...
متن کاملComponents, Contracts and Vocabularies - Making Dynamic Component Assemblies more Predictable
In recent years, dynamic component-based systems such as OSGi and its derivatives have become very successful. This has created new challenges for verification. Assemblies are created and modified dynamically at runtime, but many existing techniques such as unit testing are designed for buildtime verification. Runtime verification is usually restricted to type checks. We propose a simple compon...
متن کاملServices Everywhere: OSGi in Distributed Environments
Distribution is increasingly becoming an important issue in both enterprise applications and mobile computing. OSGi itself has only rudimental support for distribution, in forms of interfaces for interaction with Jini (R3) or UPnP (R3 + R4) infrastructures. When it comes to interconnecting different OSGi frameworks, there are only few solutions so far. In this paper, we present these existing s...
متن کاملANIS: A Negotiated Integration of Services in Distributed Environments
The development of highly dynamic distributed environments modifies the runtime behavior of applications. Applications tend to use services available everywhere in the environment and would like to, whenever it is possible and/or needed, integrate services offered by the local environment. In particular, if no single service can satisfy the functionality required by the application, combining e...
متن کاملDesign and Implementation of an Embedded Home-gateway for Remote Monitoring Based on Osgi Technology
In this paper, we use OSGi (Open Service Gateway Initiative) technology to design and implement a remote monitor system in an embedded home-gateway. For the integration of all kinds of existing communication protocol, OSGi technology has the potential to conform with numerous standards. Because OSGi has a defined external protocol services interface, it provides compatible services to control t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011